package com.woyou.model.dao;

import java.util.ArrayList;
import java.util.List;

import org.androidannotations.annotations.EBean;
import org.androidannotations.annotations.EBean.Scope;

import com.woyou.bean.MyAddress;

/**
 * 用户地址列表
 * @author tanglc
 */
@EBean(scope=Scope.Singleton)
public class AddressDao {
	
	private List<MyAddress> addrList = new ArrayList<MyAddress>();

	/**
	 * 获取用户地址列表
	 * tanglc
	 * @return list
	 */
	public List<MyAddress> getList() {
		return addrList;
	}
	/**
	 * 设置用户地址列表
	 * tanglc
	 * @param list
	 */
	public void setList(List<MyAddress> list) {
		this.addrList = list;
	}
	/**
	 * 清空地址列表
	 */
	public void clearList(){
		addrList.clear();
	}
	
}
